﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<QianBuo.Lottery.Web.Models.Play.VedioModel>" %>
<link href='<%=Url.Content("~/Content/vedio2.css") %>' rel="stylesheet" type="text/css" />
<script type="text/javascript">

    ///	<summary>
    ///	初始化
    ///	</summary>
    function init() {
        Site.Lottery.CurrentLottery.ID= <%= Model.LotteryID %>;
        Site.Lottery.CurrentLottery.Name='<%=Model.LotteryName %>';
        Site.Lottery.CurrentLottery.OpenCodeLength=<%=Model.OpenCodeLen %>;
        Site.ServerPath='<%=Url.Content("~/") %>';
        Site.Issue.GetCurrentIssue();
        Site.Issue.GetLastIssue();
        Site.i$("lotteryName").innerText=Site.Lottery.CurrentLottery.Name;
        $(".vediosound img").click(function() {
             playsound=false;
            if (Site.Issue.IsPlaySound) {
                Site.Issue.IsPlaySound = false;
                this.src='<%=Url.Content("~/Content/images/sy_off.gif") %>';
                this.alt="开启声音";
            } else {
                Site.Issue.IsPlaySound = true;
                this.src='<%=Url.Content("~/Content/images/sy_on.gif") %>';
                this.alt="关闭声音";
            }
        });
    }

    $(document).ready(init);
</script>
<div id="divvideo">
    <div id="divvideobody">
        <table class="vedio" cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td id="lileft" valign="top">
                    <ul>
                        <li class="vedioqihao"><span id="currentIssueName">载入中...</span> </li>
                        <li class="vediotime"><span>00:00</span>
                            <img alt="本期以截止,请稍后！" src='<%=Url.Content("~/Content/Images/luck.gif") %>' />
                        </li>
                        <li class="vediosound">
                            <img id="playsound" alt="关闭声音" src='<%=Url.Content("~/Content/Images/sy_on.gif") %>' />
                        </li>
                    </ul>
                </td>
                <td id="liright" valign="top">
                    <ul>
                        <li class="vedioqihao"><span id="lotteryName">载入中...</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <span id="lastIssueName">载入中......</span> </li>
                        <li id="openwinnumber" class="opennumber">
                            <table>
                                <tr>
                                    <td width="32"><span class="<%=string.IsNullOrEmpty(Model.StyleName) ? "font_size_32px" : Model.StyleName%>">0</span></td><td width="28">&nbsp;</td>
                                    <td width="32"><span class="<%=string.IsNullOrEmpty(Model.StyleName) ? "font_size_32px" : Model.StyleName%>">0</span></td><td width="28">&nbsp;</td>
                                    <td width="35"><span class="<%=string.IsNullOrEmpty(Model.StyleName) ? "font_size_32px" : Model.StyleName%>">0</span></td><td width="28">&nbsp;</td>
                                    <td width="35"><span class="<%=string.IsNullOrEmpty(Model.StyleName) ? "font_size_32px" : Model.StyleName%>">0</span></td><td width="28">&nbsp;</td>
                                    <td width="35"><span class="<%=string.IsNullOrEmpty(Model.StyleName) ? "font_size_32px" : Model.StyleName%>">0</span></td><td>&nbsp;</td>
                                </tr>
                            </table>
                        </li>
                        <li class="opennumberstate">
                            <table id="tbwinnostate">
                                <tr>
                                    <td class="statename">三星形态</td><td id="xt_3x" class="statevalue">组六</td>
                                    <td class="statename">二星和值</td><td id="xt_2xh" class="statevalue">17</td>
                                    <td class="statename">三星和值</td><td id="xt_3xh" class="statevalue">22</td>
                                </tr>
                                <tr>
                                    <td class="statename">大小单双</td>
                                    <td id="xt_dxds" colspan="5" class="statevalue">大大&nbsp;大双&nbsp;单大&nbsp;单双</td>
                                </tr>
                            </table>
                            <table id="waittimespan">
                                <tr>
                                    <td class="waitnexttxt">
                                        <span>等待开奖...</span>
                                    </td>
                                </tr>
                            </table>
                        </li>
                    </ul>
                </td>
            </tr>
        </table>
    </div>
    <div id="divplaySound">
    </div>
</div>
